// 用户相关API
import { request } from "@/http";

export const login_API = data => {
  return request("post", "/api/user/login")(data);
};

export const register_API = data => {
  return request("post", "/api/user/register")(data);
};
